package com.ruoyi.combat.domain.neo4j;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;

@Data
@Node(labels = "AtlasTask")
@ApiModel("图谱抗归属任务类")
public class CombatAtlasTask {

    @ApiModelProperty("任务Id")
    @Id
    @Property(name = "_id")
    private Long id;

    @ApiModelProperty("被保护IP")
    @Property(name = "targetIp")
    private String targetIp;

    @ApiModelProperty("抗归属算法 1-确定IP-组织归属关系抗归属 2-预测IP-组织关系抗归属")
    @Property(name = "taskMethod")
    private String taskMethod;

    @ApiModelProperty("任务状态 1-进行中 2-已完成")
    @Property(name = "taskStatus")
    private String taskStatus;

    @ApiModelProperty("任务开始时间")
    @Property(name = "startTime")
    private String startTime;

    @ApiModelProperty("任务结束时间")
    @Property(name = "endTime")
    private String endTime;

    @ApiModelProperty("关联类型 1-确定关联风险算法抗归属 2-预测关联风险算法抗归属")
    @Property(name = "type")
    private String type;

    @ApiModelProperty("抗归属前组织")
    @Property(name = "beforeRiskOrg")
    private String beforeRiskOrg;

    @ApiModelProperty("抗归属后组织")
    @Property(name = "afterRiskOrg")
    private String afterRiskOrg;

    @ApiModelProperty("抗归属前IP-组织关系")
    private IpNode beforeRiskIpRelation;

    @ApiModelProperty("抗归属后IP-组织关系")
    private IpNode afterRiskOrgRelation;

    /**
     * 预测-抗之后的概率
     */
    private String afterPreRiskProbability;

}
